Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tax formatting is locale aware and should not #224

Closed
wants to merge 1 commit into from

Conversation

odoucet
Copy link

@odoucet odoucet commented Feb 14, 2013

Tax helper is using %f that is locale aware. This leads to floats like "0,1960" that SQL does not understand. sprintf should not be locale aware, so we should use %F instead of %f

…at require english formatted float). Change %f to %F
@magento-team
Copy link
Contributor

Thanks for the contributions. We should be able to take this as a part of larger effort to improve tax calculation.

magento-team added a commit that referenced this pull request Nov 29, 2013
* Modularity improvements:
  * Breakdown of the Adminhtml module:
     * Moved Newsletter, Report logic to the respective modules
     * Moved blocks, config, view, layout files of other components from Adminhtml folder to respective modules
  * Removed application dependencies from the library
* Move Magento\Core common blocks in the library
* Application areas rework:
  * Areas are independent from Store
  * Removed deprecated annotation from the getArea methods
* GitHub requests:
  * [#245](#245) -- Resolve design flaws in core URL helper
  * [#247](#247) -- Bug in Mage_Page_Block_Html_Header->getIsHomePage
  * [#259](#259) -- Turkish Lira (TRY) is supported for Turkish members.
  * [#262](#262) -- Update Rule.php
  * [#373](#373) -- [Magento/Sales] Fixed typos
  * [#382](#382) -- [Magento/Core] Fixed typos
  * [#304](#304) -- Removed Erroneous closing "
  * [#323](#323) -- InstanceController.php - made setBody protected
  * [#349](#349) -- Move Mage_Catalog menu declaration into Mage_Catalog module.
  * [#265](#265) -- Update Merge.php
  * [#271](#271) -- Check Data should validate gallery information
  * [#305](#305) -- Extra ", tidied up nested quotes
  * [#352](#352) -- Add Croatia Country as part of European Union since 1st July 2013 for default european local countries in configuration
  * [#224](#224) -- Tax formatting is locale aware and should not
  * [#338](#338) -- Correcting SQL for required_options column
  * [#327](#327) -- cart api bug fix & partial invoice credit memo divide by zero warning
* Themes update:
  * Old frontend (magento_demo) and backend (magento_basic) themes are removed
  * Updated templates and layout updates in the Bundle, Catalog, CatalogInventory, CatalogSearch, Downloadable, ProductAlert, Reports, Sendfriend modules
* Fixed bugs:
  * Fixed the error when  Magento cannot be reinstalled to the same database with table prefix
  * Fixed report Products in Cart
  * Fixed error on attempt to insert image to CMS pages under version control
  * Fixed order status grid so that you can assign state, edit, and view custom order status
  * Fixed Related Products Rule page so that category can be selected on conditions tab
  * Fixed Magento_Paypal_Controller_ExpressTest integration test so it is re-enabled
  * Fixed the bug with international DHL quotes
@elenleonova
Copy link

odoucet,
we have processed your contribution for magento2.
Huge thanks to you!

magento-team pushed a commit that referenced this pull request Apr 20, 2015
MAGETWO-35517: Optimize nginx.conf
magento-team pushed a commit that referenced this pull request Dec 7, 2015
mmansoor-magento pushed a commit that referenced this pull request Aug 8, 2016
magento-engcom-team added a commit that referenced this pull request Feb 12, 2019
 - Merge Pull Request magento/graphql-ce#224 from magento/graphql-ce:142_Add_configurable_product_to_Cart
 - Merged commits:
   1. 5e7e1da
   2. d5bece5
   3. 109a44b
   4. 583ac36
   5. 69e1fd6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants